package com.czwj.dao;

import java.util.List;
import java.util.Map;

import com.czwj.entities.Company;

public interface CompanyMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Company record);

    int insertSelective(Company record);

    Company selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Company record);

    int updateByPrimaryKey(Company record);
    
    List<Company> search(Map<String, Object> map);

	int count(Map<String, Object> map);

	Company findByName(String companyname);

	int updateStatus(Map<String, Object> map);

}